

//  ZMQPlugin.h
//  Zeromq-Client-iPhone
//
//  Created by user on 16/2/18.
//  Copyright © 2016年 jingyi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Cordova/CDV.h"
#import "GCDAsyncSocket.h"

@interface ZMQPlugin : CDVPlugin<GCDAsyncSocketDelegate>
//连接
-(void)zmqConnect:(CDVInvokedUrlCommand *)command;
//发送
- (void)zmqSendToPeer:(CDVInvokedUrlCommand *)command;
//断开
- (void)zmqDisConnect:(CDVInvokedUrlCommand *)command;
//获取devicetoken
- (NSString *)getDeviceToken:(CDVInvokedUrlCommand *)command;

@end
